package com.goldcn.order.model;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class OrderItem {
    private Long itemID;

    private Long orderID;

    private Long skuID;

    private Long goodsID;

    private String goodsName;

    private String goodsImg;

    private String goodsSku;
    @ApiModelProperty(value = "数量")
    private Integer qty;
    @ApiModelProperty(value = "预留价格字段")
    private BigDecimal price;
    @ApiModelProperty(value = "实际价格")
    private BigDecimal retailPrice;
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "部门扣点金额")
    private BigDecimal commission;
    @ApiModelProperty(value = "员工扣点金额")
    private BigDecimal employeeCommission;

    private Integer seqno;
    @ApiModelProperty(value = "备注")
    private String memo;
    @ApiModelProperty(value = "推荐人ID，预留")
    private Long recommendID;

    private String md5;

    private String prdNo;


    @ApiModelProperty(value = "成交店铺ID")
    private Long shopID;

    @ApiModelProperty(value = "折扣率(使用时除以100)")
    private Integer discountRate;

    @ApiModelProperty(value = "代理商加价系数(使用时除以1000)")
    private Integer agentRate;

    @ApiModelProperty(value = "平台销售扣点比例(使用时除以1000)")
    private Integer deductionRate;


    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmount;

    public Integer getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(Integer discountRate) {
        this.discountRate = discountRate;
    }

    public Long getItemID() {
        return itemID;
    }

    public void setItemID(Long itemID) {
        this.itemID = itemID;
    }

    public Long getOrderID() {
        return orderID;
    }

    public void setOrderID(Long orderID) {
        this.orderID = orderID;
    }

    public Long getSkuID() {
        return skuID;
    }

    public void setSkuID(Long skuID) {
        this.skuID = skuID;
    }

    public Long getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(Long goodsID) {
        this.goodsID = goodsID;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsSku() {
        return goodsSku;
    }

    public void setGoodsSku(String goodsSku) {
        this.goodsSku = goodsSku;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public Integer getSeqno() {
        return seqno;
    }

    public void setSeqno(Integer seqno) {
        this.seqno = seqno;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getRecommendID() {
        return recommendID;
    }

    public void setRecommendID(Long recommendID) {
        this.recommendID = recommendID;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getPrdNo() {
        return prdNo;
    }

    public void setPrdNo(String prdNo) {
        this.prdNo = prdNo;
    }

    public BigDecimal getEmployeeCommission() {
        return employeeCommission;
    }

    public void setEmployeeCommission(BigDecimal employeeCommission) {
        this.employeeCommission = employeeCommission;
    }


    public Long getShopID() {
        return shopID;
    }

    public void setShopID(Long shopID) {
        this.shopID = shopID;
    }

    public Integer getAgentRate() {
        return agentRate;
    }

    public void setAgentRate(Integer agentRate) {
        this.agentRate = agentRate;
    }

    public Integer getDeductionRate() {
        return deductionRate;
    }

    public void setDeductionRate(Integer deductionRate) {
        this.deductionRate = deductionRate;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }
}